package com.mtons.mblog.modules.repository;

import com.mtons.mblog.modules.entity.Nav;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * NavRepository.
 * @author yuzhong
 * @date 2019/2/27 16:51
 */
public interface NavRepository extends JpaRepository<Nav,Integer>,JpaSpecificationExecutor<Nav> {
    /**
     * 查询导航列表
     *
     * @return
     */
    Page<Nav> findAll(Pageable pageable);
}
